module.exports = {
  //publicPath: '/v18/',
  //publicPath: '/v18nj/',
  //publicPath: '/v18sh/',
  //publicPath: '/v18hz/',
  //publicPath: '/v18xz/',
  publicPath: '/moer/',
  outputDir: 'dist',
  assetsDir: 'static',
  lintOnSave: process.env.NODE_ENV === 'development',
  productionSourceMap: false,
  devServer: {
    overlay: {
      warnings: false,
      errors: false,
    },
    proxy: {
      '/api': {
        target: 'https://moerlong.bangzheng100.com/',
        changeOrigin: true,
        ws: true,
        pathRewrite: {
          '^/api': '',
        },
      },
    },
  },
  lintOnSave: false,
}
